package com.gzhuxj201.service;

import com.gzhuxj201.entity.Course;
import com.gzhuxj201.entity.Result;

import java.util.List;

public interface CourseService {
    List<Course> selectByCnos(List<String> cnos);

    int add(Course course) throws InterruptedException;

    int updateByCno(Course course) throws RuntimeException, InterruptedException;

    Course selectByCno(String cno);

    int deleteByCno(String cno) throws InterruptedException, RuntimeException;

    Result selectByCanSelect();

}
